package com.wego.common.tk.plus.mapper;

import com.wego.common.tk.plus.provider.BatchUpdateSelectiveByIdProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

import java.util.List;

/**
 * @interfaceName: BatchUpdateSelectiveByIdMapper
 * @description: TODO
 * @author: Li Chuanwei
 * @date: 2023/07/10 12:20
 * @Company: Copyright [日期] by [作者或个人]
 **/
@RegisterMapper
public interface BatchUpdateSelectiveByIdMapper<T> {
    @UpdateProvider(type = BatchUpdateSelectiveByIdProvider.class, method = "dynamicSQL")
    int batchUpdateSelective(List<T> list);
}
